package com.imti.mall.product.service;

import com.imti.mall.model.pms.pojo.PmsMemberPrice;
import com.imti.mall.model.pms.pojo.PmsProductFullReduction;

import java.security.PublicKey;
import java.util.List;

public interface PmsMemberPriceService {
    /**
     * 根据商品id查询商品会员价格
     * @param id
     * @return
     */
    public List<PmsMemberPrice> getPmsMemberPriceId(Integer id);

    /**
     * 根据商品会员id修改商品会员价格
     * @param pmsMemberPrice
     * @return
     */
    public Integer upadtePmsMemberPrice(PmsMemberPrice pmsMemberPrice);

    /**
     * 查询全部商品会员价格
     * @return
     */
    public List<PmsMemberPrice> findPmsMemberPrice();


    /**
     * 根据商品会员id查询会员表
     * @return
     */
    public PmsMemberPrice findPmsMemberPriceById(Integer id);


    /**
     * 添加会员
     * @return
     */
    public Integer addPmsMemberPrice(PmsMemberPrice pmsMemberPrice);

    /**
     * 根据商品商品会员价格id删除
     * @return
     */
    public Integer delPmsMemberPrice(Integer id);

    /**
     * 批量添加
     * @param memberPriceList
     * @return
     */
    public boolean addList(List<PmsMemberPrice> memberPriceList);

    /**
     * 批量修改
     * @param memberPriceList
     * @return
     */
    public boolean updateList(List<PmsMemberPrice> memberPriceList);

    /**
     * 批量修改
     * @param memberPriceList
     * @return
     */
    public boolean deleteList(List<PmsMemberPrice> memberPriceList);

}
